export function createStorge (key) {
  return {
    //   写
    set (value) {
      console.log(value)
      localStorage.setItem(key, value)
    },
    //   读
    get () {
      return localStorage.getItem(key)
    },
    // 删
    clear () {
      localStorage.removeItem(key)
    }
  }
}
export default createStorge('hm-element-mj-pc-token')
